//
//  WordMO.h
//  Words
//
//  Created by Mathieu on 8/06/06.
//  Copyright 2006 __MyCompanyName__. All rights reserved.
//

#import <CoreData/CoreData.h>
#import "WWManagedObject.h"

@interface WordMO : WWManagedObject < NSCoding > {

}
-(void)incrementTimesSeen;

- (bool)isDefined;
- (void)setIsDefined:(bool)value;
//convenience method to add a new definitions to the word with strings.
- (void)addDefinitionWithLocalString:(NSString *)local andForeignString:(NSString *)foreign;
-(int)numberOfDefsForKey:(NSString *)key;

#pragma mark Archiving Support
- (void)encodeWithCoder:(NSCoder *)coder;
- (id)initWithCoder:(NSCoder *)coder;

@end
